package com.fruit;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 *服务注册中心server端
 */
@SpringBootApplication
@EnableEurekaServer
public class FruitEurekaServerApplication {
	private final static Logger logger = LoggerFactory.getLogger(FruitEurekaServerApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(FruitEurekaServerApplication.class, args);
		logger.info("服务注册中心服务端 启动成功");
	}
}